FROM bitnami/java:21
WORKDIR /app
COPY ./ruoyi-gateway/ruoyi-gateway/target/ruoyi-gateway.jar /app/
COPY ./ruoyi-gateway/ruoyi-gateway/src/main/resources/*.yml /app/config/
CMD ["java","-jar","ruoyi-gateway.jar","--spring.config.location=config/"]